﻿//JumbotCms_4.1 Final
using System;
using JumbotCms.Common;

namespace JumbotCms.WebFile.Passport
{
    public partial class _logout : JumbotCms.API.UserCenter
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (ChkUserLogout(q("userkey")))
            {
                if(q("refer") != "")
                    FinalMessage("已清除您的登录信息", q("refer"), 0);
                else
                    FinalMessage("已清除您的登录信息", Request.ServerVariables["HTTP_REFERER"].ToString(), 0);
            }
            else
                FinalMessage("无法确定您的身份", site.Dir, 0);
        }
    }
}
